package models.tile;

import java.awt.Image;
import java.io.IOException;

import javax.swing.ImageIcon;

public class LakeTile extends Tile {

	public int color;
	
	public LakeTile(int i, int j, int tilelong, int color) {
		super(i,j,2*tilelong);
		this.height = tilelong;
		this.color=color;
	}

	public void addFrame(String path) throws IOException{
		
		Image image = new ImageIcon(getClass().getResource(path)).getImage();
		image = image.getScaledInstance(width, height, Image.SCALE_AREA_AVERAGING);
		tiles.add(image);
		
	}
	
}
